package cn.neusoft.enums;

public enum Role {
    ADMIN(0, "超级管理员"), CUSTOMER_SERVICE(1, "客服部门员工"),
    SCHEDULE(2, "调度部门员工"), ALLOCATION(3, "配送部门员工"),
    CENTER_WAREHOUSE(4, "中心库房员工"), SUB_WAREHOUSE(5, "分库员工"),
    SUBSTATION(6, "分站员工"), FINANCE(7, "财务员工"),
    DELIVERY(8, "配送员");

    private final Integer code;
    private final String message;

    Role(Integer code, String message)
    {
        this.code = code;
        this.message = message;
    }

    public Integer getCode()
    {
        return code;
    }

    public String getMessage()
    {
        return message;
    }
}
